[
   {
      "endpointSelector" :  {
         "matchLabels": {
            "k8s:io.kubernetes.pod.namespace": "public"
         }
     },
      "egress" : [
         {
            "toEndpoints" : [
               {
                  "matchLabels" : {
                     "k8s:io.kubernetes.pod.namespace" : "kube-system",
                     "k8s-app" : "kube-dns"
                  }
               }
            ],
            "toPorts" : [
               {
                  "ports" : [
                     {
                        "port" : "53",
                        "protocol" : "UDP"
                     }
                  ]
               }
            ]
         }
      ]
   }
]
